home *** CD-ROM | disk | FTP | other *** search
/ Hyper Animation Series: Viper (Limited Edition) / Hyper Animation Series: VIPER (Limited Edition).iso / pc / SYSTEM / class / PlayerShot.class (.txt) < prev    next >
Encoding:
Java Class File  |  1998-08-04  |  635 b   |  17 lines

  1. public class PlayerShot extends StgObject {
  2.    protected Enemy enemy;
  3.  
  4.    public PlayerShot(StgFrame var1, int var2) {
  5.       super(var1, var2);
  6.       this.enemy = var1.getEnemy();
  7.    }
  8.  
  9.    public boolean action() {
  10.       for(PlayerShotIndex var1 = (PlayerShotIndex)super.Top.getNext(); var1 != null; var1 = (PlayerShotIndex)((LinkListIndex)var1).getNext()) {
  11.          var1.action();
  12.       }
  13.  
  14.       return true;
  15.    }
  16. }
  17.